package com.tbit.main.controller;

import com.tbit.Version;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 心跳检测接口
 *
 * @author LMY
 * @create 2022-10-10 9:54
 */
@RestController
public class HeartController {
    /**
     * 心跳检测接口
     */
    @RequestMapping("/heartbeat")
    public String heartbeat() {
        return Version.getVersion();
    }
}
